
package org.onvif.ver10.media.wsdl;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import jakarta.jws.WebMethod;
import jakarta.jws.WebParam;
import jakarta.jws.WebResult;
import jakarta.jws.WebService;
import jakarta.jws.soap.SOAPBinding;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.ws.RequestWrapper;
import jakarta.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 4.1.2
 * 2025-07-12T14:40:52.166+08:00
 * Generated source version: 4.1.2
 *
 */
public final class Media_MediaPort_Client {

    private static final QName SERVICE_NAME = new QName("http://www.onvif.org/ver10/media/wsdl", "MediaService");

    private Media_MediaPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = MediaService.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) {
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }

        MediaService ss = new MediaService(wsdlURL, SERVICE_NAME);
        Media port = ss.getMediaPort();

        {
        System.out.println("Invoking removePTZConfiguration...");
        java.lang.String _removePTZConfiguration_profileToken = "";
        port.removePTZConfiguration(_removePTZConfiguration_profileToken);


        }
        {
        System.out.println("Invoking removeVideoSourceConfiguration...");
        java.lang.String _removeVideoSourceConfiguration_profileToken = "";
        port.removeVideoSourceConfiguration(_removeVideoSourceConfiguration_profileToken);


        }
        {
        System.out.println("Invoking stopMulticastStreaming...");
        java.lang.String _stopMulticastStreaming_profileToken = "";
        port.stopMulticastStreaming(_stopMulticastStreaming_profileToken);


        }
        {
        System.out.println("Invoking createProfile...");
        java.lang.String _createProfile_name = "";
        java.lang.String _createProfile_token = "";
        org.onvif.ver10.schema.Profile _createProfile__return = port.createProfile(_createProfile_name, _createProfile_token);
        System.out.println("createProfile.result=" + _createProfile__return);


        }
        {
        System.out.println("Invoking addVideoSourceConfiguration...");
        java.lang.String _addVideoSourceConfiguration_profileToken = "";
        java.lang.String _addVideoSourceConfiguration_configurationToken = "";
        port.addVideoSourceConfiguration(_addVideoSourceConfiguration_profileToken, _addVideoSourceConfiguration_configurationToken);


        }
        {
        System.out.println("Invoking getVideoEncoderConfiguration...");
        java.lang.String _getVideoEncoderConfiguration_configurationToken = "";
        org.onvif.ver10.schema.VideoEncoderConfiguration _getVideoEncoderConfiguration__return = port.getVideoEncoderConfiguration(_getVideoEncoderConfiguration_configurationToken);
        System.out.println("getVideoEncoderConfiguration.result=" + _getVideoEncoderConfiguration__return);


        }
        {
        System.out.println("Invoking getServiceCapabilities...");
        org.onvif.ver10.media.wsdl.Capabilities _getServiceCapabilities__return = port.getServiceCapabilities();
        System.out.println("getServiceCapabilities.result=" + _getServiceCapabilities__return);


        }
        {
        System.out.println("Invoking getVideoEncoderConfigurationOptions...");
        java.lang.String _getVideoEncoderConfigurationOptions_configurationToken = "";
        java.lang.String _getVideoEncoderConfigurationOptions_profileToken = "";
        org.onvif.ver10.schema.VideoEncoderConfigurationOptions _getVideoEncoderConfigurationOptions__return = port.getVideoEncoderConfigurationOptions(_getVideoEncoderConfigurationOptions_configurationToken, _getVideoEncoderConfigurationOptions_profileToken);
        System.out.println("getVideoEncoderConfigurationOptions.result=" + _getVideoEncoderConfigurationOptions__return);


        }
        {
        System.out.println("Invoking getOSDs...");
        java.lang.String _getOSDs_configurationToken = "";
        java.util.List<org.onvif.ver10.schema.OSDConfiguration> _getOSDs__return = port.getOSDs(_getOSDs_configurationToken);
        System.out.println("getOSDs.result=" + _getOSDs__return);


        }
        {
        System.out.println("Invoking removeAudioEncoderConfiguration...");
        java.lang.String _removeAudioEncoderConfiguration_profileToken = "";
        port.removeAudioEncoderConfiguration(_removeAudioEncoderConfiguration_profileToken);


        }
        {
        System.out.println("Invoking getCompatibleAudioEncoderConfigurations...");
        java.lang.String _getCompatibleAudioEncoderConfigurations_profileToken = "";
        java.util.List<org.onvif.ver10.schema.AudioEncoderConfiguration> _getCompatibleAudioEncoderConfigurations__return = port.getCompatibleAudioEncoderConfigurations(_getCompatibleAudioEncoderConfigurations_profileToken);
        System.out.println("getCompatibleAudioEncoderConfigurations.result=" + _getCompatibleAudioEncoderConfigurations__return);


        }
        {
        System.out.println("Invoking getAudioEncoderConfiguration...");
        java.lang.String _getAudioEncoderConfiguration_configurationToken = "";
        org.onvif.ver10.schema.AudioEncoderConfiguration _getAudioEncoderConfiguration__return = port.getAudioEncoderConfiguration(_getAudioEncoderConfiguration_configurationToken);
        System.out.println("getAudioEncoderConfiguration.result=" + _getAudioEncoderConfiguration__return);


        }
        {
        System.out.println("Invoking getAudioOutputConfiguration...");
        java.lang.String _getAudioOutputConfiguration_configurationToken = "";
        org.onvif.ver10.schema.AudioOutputConfiguration _getAudioOutputConfiguration__return = port.getAudioOutputConfiguration(_getAudioOutputConfiguration_configurationToken);
        System.out.println("getAudioOutputConfiguration.result=" + _getAudioOutputConfiguration__return);


        }
        {
        System.out.println("Invoking setAudioOutputConfiguration...");
        org.onvif.ver10.schema.AudioOutputConfiguration _setAudioOutputConfiguration_configuration = null;
        boolean _setAudioOutputConfiguration_forcePersistence = false;
        port.setAudioOutputConfiguration(_setAudioOutputConfiguration_configuration, _setAudioOutputConfiguration_forcePersistence);


        }
        {
        System.out.println("Invoking getSnapshotUri...");
        java.lang.String _getSnapshotUri_profileToken = "";
        org.onvif.ver10.schema.MediaUri _getSnapshotUri__return = port.getSnapshotUri(_getSnapshotUri_profileToken);
        System.out.println("getSnapshotUri.result=" + _getSnapshotUri__return);


        }
        {
        System.out.println("Invoking removeVideoEncoderConfiguration...");
        java.lang.String _removeVideoEncoderConfiguration_profileToken = "";
        port.removeVideoEncoderConfiguration(_removeVideoEncoderConfiguration_profileToken);


        }
        {
        System.out.println("Invoking getStreamUri...");
        org.onvif.ver10.schema.StreamSetup _getStreamUri_streamSetup = null;
        java.lang.String _getStreamUri_profileToken = "";
        org.onvif.ver10.schema.MediaUri _getStreamUri__return = port.getStreamUri(_getStreamUri_streamSetup, _getStreamUri_profileToken);
        System.out.println("getStreamUri.result=" + _getStreamUri__return);


        }
        {
        System.out.println("Invoking createOSD...");
        org.onvif.ver10.media.wsdl.CreateOSD _createOSD_parameters = null;
        org.onvif.ver10.media.wsdl.CreateOSDResponse _createOSD__return = port.createOSD(_createOSD_parameters);
        System.out.println("createOSD.result=" + _createOSD__return);


        }
        {
        System.out.println("Invoking getVideoSourceConfigurations...");
        java.util.List<org.onvif.ver10.schema.VideoSourceConfiguration> _getVideoSourceConfigurations__return = port.getVideoSourceConfigurations();
        System.out.println("getVideoSourceConfigurations.result=" + _getVideoSourceConfigurations__return);


        }
        {
        System.out.println("Invoking addVideoAnalyticsConfiguration...");
        java.lang.String _addVideoAnalyticsConfiguration_profileToken = "";
        java.lang.String _addVideoAnalyticsConfiguration_configurationToken = "";
        port.addVideoAnalyticsConfiguration(_addVideoAnalyticsConfiguration_profileToken, _addVideoAnalyticsConfiguration_configurationToken);


        }
        {
        System.out.println("Invoking startMulticastStreaming...");
        java.lang.String _startMulticastStreaming_profileToken = "";
        port.startMulticastStreaming(_startMulticastStreaming_profileToken);


        }
        {
        System.out.println("Invoking setSynchronizationPoint...");
        java.lang.String _setSynchronizationPoint_profileToken = "";
        port.setSynchronizationPoint(_setSynchronizationPoint_profileToken);


        }
        {
        System.out.println("Invoking addAudioSourceConfiguration...");
        java.lang.String _addAudioSourceConfiguration_profileToken = "";
        java.lang.String _addAudioSourceConfiguration_configurationToken = "";
        port.addAudioSourceConfiguration(_addAudioSourceConfiguration_profileToken, _addAudioSourceConfiguration_configurationToken);


        }
        {
        System.out.println("Invoking addAudioOutputConfiguration...");
        java.lang.String _addAudioOutputConfiguration_profileToken = "";
        java.lang.String _addAudioOutputConfiguration_configurationToken = "";
        port.addAudioOutputConfiguration(_addAudioOutputConfiguration_profileToken, _addAudioOutputConfiguration_configurationToken);


        }
        {
        System.out.println("Invoking getCompatibleMetadataConfigurations...");
        java.lang.String _getCompatibleMetadataConfigurations_profileToken = "";
        java.util.List<org.onvif.ver10.schema.MetadataConfiguration> _getCompatibleMetadataConfigurations__return = port.getCompatibleMetadataConfigurations(_getCompatibleMetadataConfigurations_profileToken);
        System.out.println("getCompatibleMetadataConfigurations.result=" + _getCompatibleMetadataConfigurations__return);


        }
        {
        System.out.println("Invoking getMetadataConfigurationOptions...");
        java.lang.String _getMetadataConfigurationOptions_configurationToken = "";
        java.lang.String _getMetadataConfigurationOptions_profileToken = "";
        org.onvif.ver10.schema.MetadataConfigurationOptions _getMetadataConfigurationOptions__return = port.getMetadataConfigurationOptions(_getMetadataConfigurationOptions_configurationToken, _getMetadataConfigurationOptions_profileToken);
        System.out.println("getMetadataConfigurationOptions.result=" + _getMetadataConfigurationOptions__return);


        }
        {
        System.out.println("Invoking setAudioDecoderConfiguration...");
        org.onvif.ver10.schema.AudioDecoderConfiguration _setAudioDecoderConfiguration_configuration = null;
        boolean _setAudioDecoderConfiguration_forcePersistence = false;
        port.setAudioDecoderConfiguration(_setAudioDecoderConfiguration_configuration, _setAudioDecoderConfiguration_forcePersistence);


        }
        {
        System.out.println("Invoking getAudioOutputConfigurationOptions...");
        java.lang.String _getAudioOutputConfigurationOptions_configurationToken = "";
        java.lang.String _getAudioOutputConfigurationOptions_profileToken = "";
        org.onvif.ver10.schema.AudioOutputConfigurationOptions _getAudioOutputConfigurationOptions__return = port.getAudioOutputConfigurationOptions(_getAudioOutputConfigurationOptions_configurationToken, _getAudioOutputConfigurationOptions_profileToken);
        System.out.println("getAudioOutputConfigurationOptions.result=" + _getAudioOutputConfigurationOptions__return);


        }
        {
        System.out.println("Invoking setVideoSourceConfiguration...");
        org.onvif.ver10.schema.VideoSourceConfiguration _setVideoSourceConfiguration_configuration = null;
        boolean _setVideoSourceConfiguration_forcePersistence = false;
        port.setVideoSourceConfiguration(_setVideoSourceConfiguration_configuration, _setVideoSourceConfiguration_forcePersistence);


        }
        {
        System.out.println("Invoking getCompatibleAudioOutputConfigurations...");
        java.lang.String _getCompatibleAudioOutputConfigurations_profileToken = "";
        java.util.List<org.onvif.ver10.schema.AudioOutputConfiguration> _getCompatibleAudioOutputConfigurations__return = port.getCompatibleAudioOutputConfigurations(_getCompatibleAudioOutputConfigurations_profileToken);
        System.out.println("getCompatibleAudioOutputConfigurations.result=" + _getCompatibleAudioOutputConfigurations__return);


        }
        {
        System.out.println("Invoking getVideoEncoderConfigurations...");
        java.util.List<org.onvif.ver10.schema.VideoEncoderConfiguration> _getVideoEncoderConfigurations__return = port.getVideoEncoderConfigurations();
        System.out.println("getVideoEncoderConfigurations.result=" + _getVideoEncoderConfigurations__return);


        }
        {
        System.out.println("Invoking setVideoAnalyticsConfiguration...");
        org.onvif.ver10.schema.VideoAnalyticsConfiguration _setVideoAnalyticsConfiguration_configuration = null;
        boolean _setVideoAnalyticsConfiguration_forcePersistence = false;
        port.setVideoAnalyticsConfiguration(_setVideoAnalyticsConfiguration_configuration, _setVideoAnalyticsConfiguration_forcePersistence);


        }
        {
        System.out.println("Invoking getAudioEncoderConfigurationOptions...");
        java.lang.String _getAudioEncoderConfigurationOptions_configurationToken = "";
        java.lang.String _getAudioEncoderConfigurationOptions_profileToken = "";
        org.onvif.ver10.schema.AudioEncoderConfigurationOptions _getAudioEncoderConfigurationOptions__return = port.getAudioEncoderConfigurationOptions(_getAudioEncoderConfigurationOptions_configurationToken, _getAudioEncoderConfigurationOptions_profileToken);
        System.out.println("getAudioEncoderConfigurationOptions.result=" + _getAudioEncoderConfigurationOptions__return);


        }
        {
        System.out.println("Invoking getProfiles...");
        java.util.List<org.onvif.ver10.schema.Profile> _getProfiles__return = port.getProfiles();
        System.out.println("getProfiles.result=" + _getProfiles__return);


        }
        {
        System.out.println("Invoking addMetadataConfiguration...");
        java.lang.String _addMetadataConfiguration_profileToken = "";
        java.lang.String _addMetadataConfiguration_configurationToken = "";
        port.addMetadataConfiguration(_addMetadataConfiguration_profileToken, _addMetadataConfiguration_configurationToken);


        }
        {
        System.out.println("Invoking setAudioEncoderConfiguration...");
        org.onvif.ver10.schema.AudioEncoderConfiguration _setAudioEncoderConfiguration_configuration = null;
        boolean _setAudioEncoderConfiguration_forcePersistence = false;
        port.setAudioEncoderConfiguration(_setAudioEncoderConfiguration_configuration, _setAudioEncoderConfiguration_forcePersistence);


        }
        {
        System.out.println("Invoking getVideoSourceConfigurationOptions...");
        java.lang.String _getVideoSourceConfigurationOptions_configurationToken = "";
        java.lang.String _getVideoSourceConfigurationOptions_profileToken = "";
        org.onvif.ver10.schema.VideoSourceConfigurationOptions _getVideoSourceConfigurationOptions__return = port.getVideoSourceConfigurationOptions(_getVideoSourceConfigurationOptions_configurationToken, _getVideoSourceConfigurationOptions_profileToken);
        System.out.println("getVideoSourceConfigurationOptions.result=" + _getVideoSourceConfigurationOptions__return);


        }
        {
        System.out.println("Invoking getGuaranteedNumberOfVideoEncoderInstances...");
        java.lang.String _getGuaranteedNumberOfVideoEncoderInstances_configurationToken = "";
        jakarta.xml.ws.Holder<java.lang.Integer> _getGuaranteedNumberOfVideoEncoderInstances_totalNumber = new jakarta.xml.ws.Holder<java.lang.Integer>();
        jakarta.xml.ws.Holder<java.lang.Integer> _getGuaranteedNumberOfVideoEncoderInstances_jpeg = new jakarta.xml.ws.Holder<java.lang.Integer>();
        jakarta.xml.ws.Holder<java.lang.Integer> _getGuaranteedNumberOfVideoEncoderInstances_h264 = new jakarta.xml.ws.Holder<java.lang.Integer>();
        jakarta.xml.ws.Holder<java.lang.Integer> _getGuaranteedNumberOfVideoEncoderInstances_mpeg4 = new jakarta.xml.ws.Holder<java.lang.Integer>();
        port.getGuaranteedNumberOfVideoEncoderInstances(_getGuaranteedNumberOfVideoEncoderInstances_configurationToken, _getGuaranteedNumberOfVideoEncoderInstances_totalNumber, _getGuaranteedNumberOfVideoEncoderInstances_jpeg, _getGuaranteedNumberOfVideoEncoderInstances_h264, _getGuaranteedNumberOfVideoEncoderInstances_mpeg4);

        System.out.println("getGuaranteedNumberOfVideoEncoderInstances._getGuaranteedNumberOfVideoEncoderInstances_totalNumber=" + _getGuaranteedNumberOfVideoEncoderInstances_totalNumber.value);
        System.out.println("getGuaranteedNumberOfVideoEncoderInstances._getGuaranteedNumberOfVideoEncoderInstances_jpeg=" + _getGuaranteedNumberOfVideoEncoderInstances_jpeg.value);
        System.out.println("getGuaranteedNumberOfVideoEncoderInstances._getGuaranteedNumberOfVideoEncoderInstances_h264=" + _getGuaranteedNumberOfVideoEncoderInstances_h264.value);
        System.out.println("getGuaranteedNumberOfVideoEncoderInstances._getGuaranteedNumberOfVideoEncoderInstances_mpeg4=" + _getGuaranteedNumberOfVideoEncoderInstances_mpeg4.value);

        }
        {
        System.out.println("Invoking getProfile...");
        java.lang.String _getProfile_profileToken = "";
        org.onvif.ver10.schema.Profile _getProfile__return = port.getProfile(_getProfile_profileToken);
        System.out.println("getProfile.result=" + _getProfile__return);


        }
        {
        System.out.println("Invoking getVideoAnalyticsConfiguration...");
        java.lang.String _getVideoAnalyticsConfiguration_configurationToken = "";
        org.onvif.ver10.schema.VideoAnalyticsConfiguration _getVideoAnalyticsConfiguration__return = port.getVideoAnalyticsConfiguration(_getVideoAnalyticsConfiguration_configurationToken);
        System.out.println("getVideoAnalyticsConfiguration.result=" + _getVideoAnalyticsConfiguration__return);


        }
        {
        System.out.println("Invoking getAudioOutputConfigurations...");
        java.util.List<org.onvif.ver10.schema.AudioOutputConfiguration> _getAudioOutputConfigurations__return = port.getAudioOutputConfigurations();
        System.out.println("getAudioOutputConfigurations.result=" + _getAudioOutputConfigurations__return);


        }
        {
        System.out.println("Invoking setOSD...");
        org.onvif.ver10.media.wsdl.SetOSD _setOSD_parameters = null;
        org.onvif.ver10.media.wsdl.SetOSDResponse _setOSD__return = port.setOSD(_setOSD_parameters);
        System.out.println("setOSD.result=" + _setOSD__return);


        }
        {
        System.out.println("Invoking addPTZConfiguration...");
        java.lang.String _addPTZConfiguration_profileToken = "";
        java.lang.String _addPTZConfiguration_configurationToken = "";
        port.addPTZConfiguration(_addPTZConfiguration_profileToken, _addPTZConfiguration_configurationToken);


        }
        {
        System.out.println("Invoking getAudioOutputs...");
        java.util.List<org.onvif.ver10.schema.AudioOutput> _getAudioOutputs__return = port.getAudioOutputs();
        System.out.println("getAudioOutputs.result=" + _getAudioOutputs__return);


        }
        {
        System.out.println("Invoking getCompatibleVideoAnalyticsConfigurations...");
        java.lang.String _getCompatibleVideoAnalyticsConfigurations_profileToken = "";
        java.util.List<org.onvif.ver10.schema.VideoAnalyticsConfiguration> _getCompatibleVideoAnalyticsConfigurations__return = port.getCompatibleVideoAnalyticsConfigurations(_getCompatibleVideoAnalyticsConfigurations_profileToken);
        System.out.println("getCompatibleVideoAnalyticsConfigurations.result=" + _getCompatibleVideoAnalyticsConfigurations__return);


        }
        {
        System.out.println("Invoking getVideoAnalyticsConfigurations...");
        java.util.List<org.onvif.ver10.schema.VideoAnalyticsConfiguration> _getVideoAnalyticsConfigurations__return = port.getVideoAnalyticsConfigurations();
        System.out.println("getVideoAnalyticsConfigurations.result=" + _getVideoAnalyticsConfigurations__return);


        }
        {
        System.out.println("Invoking getCompatibleAudioSourceConfigurations...");
        java.lang.String _getCompatibleAudioSourceConfigurations_profileToken = "";
        java.util.List<org.onvif.ver10.schema.AudioSourceConfiguration> _getCompatibleAudioSourceConfigurations__return = port.getCompatibleAudioSourceConfigurations(_getCompatibleAudioSourceConfigurations_profileToken);
        System.out.println("getCompatibleAudioSourceConfigurations.result=" + _getCompatibleAudioSourceConfigurations__return);


        }
        {
        System.out.println("Invoking getVideoSourceModes...");
        java.lang.String _getVideoSourceModes_videoSourceToken = "";
        java.util.List<org.onvif.ver10.media.wsdl.VideoSourceMode> _getVideoSourceModes__return = port.getVideoSourceModes(_getVideoSourceModes_videoSourceToken);
        System.out.println("getVideoSourceModes.result=" + _getVideoSourceModes__return);


        }
        {
        System.out.println("Invoking getAudioSourceConfigurationOptions...");
        java.lang.String _getAudioSourceConfigurationOptions_configurationToken = "";
        java.lang.String _getAudioSourceConfigurationOptions_profileToken = "";
        org.onvif.ver10.schema.AudioSourceConfigurationOptions _getAudioSourceConfigurationOptions__return = port.getAudioSourceConfigurationOptions(_getAudioSourceConfigurationOptions_configurationToken, _getAudioSourceConfigurationOptions_profileToken);
        System.out.println("getAudioSourceConfigurationOptions.result=" + _getAudioSourceConfigurationOptions__return);


        }
        {
        System.out.println("Invoking getAudioSources...");
        java.util.List<org.onvif.ver10.schema.AudioSource> _getAudioSources__return = port.getAudioSources();
        System.out.println("getAudioSources.result=" + _getAudioSources__return);


        }
        {
        System.out.println("Invoking getVideoSources...");
        java.util.List<org.onvif.ver10.schema.VideoSource> _getVideoSources__return = port.getVideoSources();
        System.out.println("getVideoSources.result=" + _getVideoSources__return);


        }
        {
        System.out.println("Invoking getAudioDecoderConfiguration...");
        java.lang.String _getAudioDecoderConfiguration_configurationToken = "";
        org.onvif.ver10.schema.AudioDecoderConfiguration _getAudioDecoderConfiguration__return = port.getAudioDecoderConfiguration(_getAudioDecoderConfiguration_configurationToken);
        System.out.println("getAudioDecoderConfiguration.result=" + _getAudioDecoderConfiguration__return);


        }
        {
        System.out.println("Invoking getAudioSourceConfiguration...");
        java.lang.String _getAudioSourceConfiguration_configurationToken = "";
        org.onvif.ver10.schema.AudioSourceConfiguration _getAudioSourceConfiguration__return = port.getAudioSourceConfiguration(_getAudioSourceConfiguration_configurationToken);
        System.out.println("getAudioSourceConfiguration.result=" + _getAudioSourceConfiguration__return);


        }
        {
        System.out.println("Invoking getCompatibleVideoSourceConfigurations...");
        java.lang.String _getCompatibleVideoSourceConfigurations_profileToken = "";
        java.util.List<org.onvif.ver10.schema.VideoSourceConfiguration> _getCompatibleVideoSourceConfigurations__return = port.getCompatibleVideoSourceConfigurations(_getCompatibleVideoSourceConfigurations_profileToken);
        System.out.println("getCompatibleVideoSourceConfigurations.result=" + _getCompatibleVideoSourceConfigurations__return);


        }
        {
        System.out.println("Invoking getCompatibleAudioDecoderConfigurations...");
        java.lang.String _getCompatibleAudioDecoderConfigurations_profileToken = "";
        java.util.List<org.onvif.ver10.schema.AudioDecoderConfiguration> _getCompatibleAudioDecoderConfigurations__return = port.getCompatibleAudioDecoderConfigurations(_getCompatibleAudioDecoderConfigurations_profileToken);
        System.out.println("getCompatibleAudioDecoderConfigurations.result=" + _getCompatibleAudioDecoderConfigurations__return);


        }
        {
        System.out.println("Invoking addVideoEncoderConfiguration...");
        java.lang.String _addVideoEncoderConfiguration_profileToken = "";
        java.lang.String _addVideoEncoderConfiguration_configurationToken = "";
        port.addVideoEncoderConfiguration(_addVideoEncoderConfiguration_profileToken, _addVideoEncoderConfiguration_configurationToken);


        }
        {
        System.out.println("Invoking getMetadataConfigurations...");
        java.util.List<org.onvif.ver10.schema.MetadataConfiguration> _getMetadataConfigurations__return = port.getMetadataConfigurations();
        System.out.println("getMetadataConfigurations.result=" + _getMetadataConfigurations__return);


        }
        {
        System.out.println("Invoking setAudioSourceConfiguration...");
        org.onvif.ver10.schema.AudioSourceConfiguration _setAudioSourceConfiguration_configuration = null;
        boolean _setAudioSourceConfiguration_forcePersistence = false;
        port.setAudioSourceConfiguration(_setAudioSourceConfiguration_configuration, _setAudioSourceConfiguration_forcePersistence);


        }
        {
        System.out.println("Invoking deleteOSD...");
        org.onvif.ver10.media.wsdl.DeleteOSD _deleteOSD_parameters = null;
        org.onvif.ver10.media.wsdl.DeleteOSDResponse _deleteOSD__return = port.deleteOSD(_deleteOSD_parameters);
        System.out.println("deleteOSD.result=" + _deleteOSD__return);


        }
        {
        System.out.println("Invoking removeAudioDecoderConfiguration...");
        java.lang.String _removeAudioDecoderConfiguration_profileToken = "";
        port.removeAudioDecoderConfiguration(_removeAudioDecoderConfiguration_profileToken);


        }
        {
        System.out.println("Invoking deleteProfile...");
        java.lang.String _deleteProfile_profileToken = "";
        port.deleteProfile(_deleteProfile_profileToken);


        }
        {
        System.out.println("Invoking getCompatibleVideoEncoderConfigurations...");
        java.lang.String _getCompatibleVideoEncoderConfigurations_profileToken = "";
        java.util.List<org.onvif.ver10.schema.VideoEncoderConfiguration> _getCompatibleVideoEncoderConfigurations__return = port.getCompatibleVideoEncoderConfigurations(_getCompatibleVideoEncoderConfigurations_profileToken);
        System.out.println("getCompatibleVideoEncoderConfigurations.result=" + _getCompatibleVideoEncoderConfigurations__return);


        }
        {
        System.out.println("Invoking getMetadataConfiguration...");
        java.lang.String _getMetadataConfiguration_configurationToken = "";
        org.onvif.ver10.schema.MetadataConfiguration _getMetadataConfiguration__return = port.getMetadataConfiguration(_getMetadataConfiguration_configurationToken);
        System.out.println("getMetadataConfiguration.result=" + _getMetadataConfiguration__return);


        }
        {
        System.out.println("Invoking setVideoEncoderConfiguration...");
        org.onvif.ver10.schema.VideoEncoderConfiguration _setVideoEncoderConfiguration_configuration = null;
        boolean _setVideoEncoderConfiguration_forcePersistence = false;
        port.setVideoEncoderConfiguration(_setVideoEncoderConfiguration_configuration, _setVideoEncoderConfiguration_forcePersistence);


        }
        {
        System.out.println("Invoking getAudioDecoderConfigurationOptions...");
        java.lang.String _getAudioDecoderConfigurationOptions_configurationToken = "";
        java.lang.String _getAudioDecoderConfigurationOptions_profileToken = "";
        org.onvif.ver10.schema.AudioDecoderConfigurationOptions _getAudioDecoderConfigurationOptions__return = port.getAudioDecoderConfigurationOptions(_getAudioDecoderConfigurationOptions_configurationToken, _getAudioDecoderConfigurationOptions_profileToken);
        System.out.println("getAudioDecoderConfigurationOptions.result=" + _getAudioDecoderConfigurationOptions__return);


        }
        {
        System.out.println("Invoking getOSDOptions...");
        org.onvif.ver10.media.wsdl.GetOSDOptions _getOSDOptions_parameters = null;
        org.onvif.ver10.media.wsdl.GetOSDOptionsResponse _getOSDOptions__return = port.getOSDOptions(_getOSDOptions_parameters);
        System.out.println("getOSDOptions.result=" + _getOSDOptions__return);


        }
        {
        System.out.println("Invoking addAudioEncoderConfiguration...");
        java.lang.String _addAudioEncoderConfiguration_profileToken = "";
        java.lang.String _addAudioEncoderConfiguration_configurationToken = "";
        port.addAudioEncoderConfiguration(_addAudioEncoderConfiguration_profileToken, _addAudioEncoderConfiguration_configurationToken);


        }
        {
        System.out.println("Invoking addAudioDecoderConfiguration...");
        java.lang.String _addAudioDecoderConfiguration_profileToken = "";
        java.lang.String _addAudioDecoderConfiguration_configurationToken = "";
        port.addAudioDecoderConfiguration(_addAudioDecoderConfiguration_profileToken, _addAudioDecoderConfiguration_configurationToken);


        }
        {
        System.out.println("Invoking removeVideoAnalyticsConfiguration...");
        java.lang.String _removeVideoAnalyticsConfiguration_profileToken = "";
        port.removeVideoAnalyticsConfiguration(_removeVideoAnalyticsConfiguration_profileToken);


        }
        {
        System.out.println("Invoking removeMetadataConfiguration...");
        java.lang.String _removeMetadataConfiguration_profileToken = "";
        port.removeMetadataConfiguration(_removeMetadataConfiguration_profileToken);


        }
        {
        System.out.println("Invoking removeAudioOutputConfiguration...");
        java.lang.String _removeAudioOutputConfiguration_profileToken = "";
        port.removeAudioOutputConfiguration(_removeAudioOutputConfiguration_profileToken);


        }
        {
        System.out.println("Invoking getAudioEncoderConfigurations...");
        java.util.List<org.onvif.ver10.schema.AudioEncoderConfiguration> _getAudioEncoderConfigurations__return = port.getAudioEncoderConfigurations();
        System.out.println("getAudioEncoderConfigurations.result=" + _getAudioEncoderConfigurations__return);


        }
        {
        System.out.println("Invoking setMetadataConfiguration...");
        org.onvif.ver10.schema.MetadataConfiguration _setMetadataConfiguration_configuration = null;
        boolean _setMetadataConfiguration_forcePersistence = false;
        port.setMetadataConfiguration(_setMetadataConfiguration_configuration, _setMetadataConfiguration_forcePersistence);


        }
        {
        System.out.println("Invoking getVideoSourceConfiguration...");
        java.lang.String _getVideoSourceConfiguration_configurationToken = "";
        org.onvif.ver10.schema.VideoSourceConfiguration _getVideoSourceConfiguration__return = port.getVideoSourceConfiguration(_getVideoSourceConfiguration_configurationToken);
        System.out.println("getVideoSourceConfiguration.result=" + _getVideoSourceConfiguration__return);


        }
        {
        System.out.println("Invoking getAudioDecoderConfigurations...");
        java.util.List<org.onvif.ver10.schema.AudioDecoderConfiguration> _getAudioDecoderConfigurations__return = port.getAudioDecoderConfigurations();
        System.out.println("getAudioDecoderConfigurations.result=" + _getAudioDecoderConfigurations__return);


        }
        {
        System.out.println("Invoking removeAudioSourceConfiguration...");
        java.lang.String _removeAudioSourceConfiguration_profileToken = "";
        port.removeAudioSourceConfiguration(_removeAudioSourceConfiguration_profileToken);


        }
        {
        System.out.println("Invoking getOSD...");
        org.onvif.ver10.media.wsdl.GetOSD _getOSD_parameters = null;
        org.onvif.ver10.media.wsdl.GetOSDResponse _getOSD__return = port.getOSD(_getOSD_parameters);
        System.out.println("getOSD.result=" + _getOSD__return);


        }
        {
        System.out.println("Invoking getAudioSourceConfigurations...");
        java.util.List<org.onvif.ver10.schema.AudioSourceConfiguration> _getAudioSourceConfigurations__return = port.getAudioSourceConfigurations();
        System.out.println("getAudioSourceConfigurations.result=" + _getAudioSourceConfigurations__return);


        }
        {
        System.out.println("Invoking setVideoSourceMode...");
        java.lang.String _setVideoSourceMode_videoSourceToken = "";
        java.lang.String _setVideoSourceMode_videoSourceModeToken = "";
        boolean _setVideoSourceMode__return = port.setVideoSourceMode(_setVideoSourceMode_videoSourceToken, _setVideoSourceMode_videoSourceModeToken);
        System.out.println("setVideoSourceMode.result=" + _setVideoSourceMode__return);


        }

        System.exit(0);
    }

}
